package o;

import android.text.TextUtils;
import com.huawei.appgallery.jsonkit.api.annotation.FieldSecurity;
import com.huawei.appgallery.jsonkit.api.annotation.SecurityLevel;
import com.huawei.gamebox.service.welfare.gift.bean.GiftCardBean;
import com.huawei.gamebox.service.welfare.gift.bean.PlayerRoleInfo;

public class fbz extends eyj {
    public static final String APIMETHOD = "client.gs.gameGiftsExchange";
    private static final String TAG = "GetGiftExchangeReq";
    private String appId_;
    private int campaignId_;
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    private String certs4SignVerify_;
    private String exchangeId_;
    private String gSource_;
    private int isForumGift_;
    private String roleId_;
    private String roleName_;
    private String zoneId_;
    private String zoneName_;

    public static fbz ˏ(GiftCardBean giftCardBean, int i, PlayerRoleInfo playerRoleInfo, String str) {
        fbz o_fbz = new fbz();
        o_fbz.setMethod_(APIMETHOD);
        o_fbz.targetServer = "jxs.url";
        o_fbz.setStoreApi("gbClientApi");
        o_fbz.ॱ(giftCardBean.ᐝ());
        o_fbz.ˊ(giftCardBean.ʽ());
        o_fbz.ˏ(giftCardBean.ॱˋ());
        o_fbz.ˋ(giftCardBean.ͺˏ());
        o_fbz.setServiceType_(i);
        o_fbz.ˋ(giftCardBean.ʾ());
        if (playerRoleInfo != null) {
            o_fbz.ॱॱ(playerRoleInfo.ˊ());
            o_fbz.ᐝ(playerRoleInfo.ॱ());
            o_fbz.ʻ(playerRoleInfo.ˋ());
            o_fbz.ˊॱ(playerRoleInfo.ˏ());
        }
        o_fbz.ʼ(giftCardBean.ـॱ());
        if (!TextUtils.isEmpty(str)) {
            o_fbz.ॱˊ(str);
        }
        o_fbz.ॱ(epk.ˏ());
        return o_fbz;
    }

    public void ॱ(String str) {
        this.exchangeId_ = str;
    }

    public void ˊ(String str) {
        this.gSource_ = str;
    }

    public void ˏ(int i) {
        this.campaignId_ = i;
    }

    public void ˋ(String str) {
        this.appId_ = str;
    }

    public void ॱॱ(String str) {
        this.zoneId_ = str;
    }

    public void ᐝ(String str) {
        this.zoneName_ = str;
    }

    public void ʻ(String str) {
        this.roleId_ = str;
    }

    public void ˊॱ(String str) {
        this.roleName_ = str;
    }

    public void ॱˊ(String str) {
        this.certs4SignVerify_ = str;
    }

    public void ˋ(int i) {
        this.isForumGift_ = i;
    }
}
